﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

public partial class web_pages_CCLD_TUYENDUNG : System.Web.UI.Page
{
    public Common comm = new Common();
    public DataTable dtt_main, dtt_sub, dtt;
    public string sql = "", sql_sub = "", messDate = "", messSan = "";
    public Boolean chk = false;
    Control ct;
    protected void Page_Load(object sender, EventArgs e)
    {
        sql = "select * from HeThong_config where id=2 or id=3";
        dtt_main = comm.getDataTable(sql);
        dtt = comm.getDataTable("select banner_path from HeThong_config where id=4");
        messDate = dtt.Rows[0][0].ToString();
        dtt = comm.getDataTable("select banner_path,B.ten_san from HeThong_config,dbo.SanGiaoDich AS B where id=5 AND banner_path=B.ma_san");
        if (dtt.Rows.Count > 0)
            messSan = dtt.Rows[0][1].ToString().Trim();
    }
}
